﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="2.0" 
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"
                xmlns:msxsl="urn:schemas-microsoft-com:xslt"
                xmlns:date="http://exslt.org/dates-and-times"
                extension-element-prefixes="date">
  <xsl:output method="html" indent="yes"/>



  <xsl:template match="Author">

    <!--BEGIN .author-bio-->
    <div class="author-bio">

      <!-- BEGIN .author-image -->
      <div class="author-image">
        <img class='avatar avatar-70 photo' height='70' width='70'>
          <xsl:attribute name="src">
            <xsl:value-of select="ProfileImage"/>
          </xsl:attribute>
          <xsl:attribute name="alt">
            <xsl:value-of select="Name"/>
          </xsl:attribute>
        </img>
        <!-- END .author-image -->
      </div>
      <!-- BEGIN .author-info -->
      <div class="author-info">
        <div class="author-title">
          <a href="http://www.lifeinSharepoint.co.uk" title="Visit Christopher Petttigrew&#8217;s website" rel="external">
            <xsl:value-of select="Name" />
          </a>
        </div>        
          <xsl:value-of select="Bio" disable-output-escaping="yes" />        
        <!-- END .author-info -->
      </div>

      <!--END .author-bio-->
    </div>
    
  </xsl:template>
</xsl:stylesheet>
